package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.entity.EpidemicPrevention;
import com.lnking.lnkingplace.model.request.epidemicPrevention.EpidemicPreventionAddRequest;
import com.lnking.lnkingplace.model.request.epidemicPrevention.EpidemicPreventionUpdateRequest;
import com.lnking.lnkingplace.model.request.notice.NoticeAddRequest;
import com.lnking.lnkingplace.model.request.notice.NoticeUpdateRequest;
import com.lnking.starter.mybatis.service.ICustomService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 防疫数据导入 服务类
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-20
 */
public interface IEpidemicPreventionService extends ICustomService<EpidemicPrevention> {

    /**
     * 创建
     * @param params
     */
    void add(EpidemicPreventionAddRequest params) throws Exception;

    /**
     * 更新
     * @param params
     */
    void update(EpidemicPreventionUpdateRequest params) throws Exception;

    /**
     * 导入excel
     * @throws Exception
     */
    void importExcel(MultipartFile file) throws Exception;

    /**
     * 导出excel
     */
    void exportExcel(HttpServletResponse response)throws Exception;
}
